home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / smaltalk / gnu_st.lha / gnu_st / smalltalk-1.1.1 / stix / Xerr.st < prev    next >
Text File  |  1991-09-12  |  9KB  |  442 lines

  1. "======================================================================
  2. |
  3. | Copyright (C) 1990, 1991 Free Software Foundation, Inc.
  4. | Written by Steve Byrne.
  5. |
  6. | This file is part of GNU Smalltalk.
  7. |
  8. | GNU Smalltalk is free software; you can redistribute it and/or modify it
  9. | under the terms of the GNU General Public License as published by the Free
  10. | Software Foundation; either version 1, or (at your option) any later version.
  11. | GNU Smalltalk is distributed in the hope that it will be useful, but WITHOUT
  12. | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  13. | FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
  14. | details.
  15. | You should have received a copy of the GNU General Public License along with
  16. | GNU Smalltalk; see the file COPYING.  If not, write to the Free Software
  17. | Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  
  18. |
  19.  ======================================================================"
  20.  
  21.  
  22. "
  23. |     Change Log
  24. | ============================================================================
  25. | Author       Date       Change 
  26. | sbyrne     24 May 90      created.
  27. |
  28. "
  29.  
  30.  
  31.  
  32. XError subclass: #RequestError
  33.     instanceVariableNames: ''
  34.     classVariableNames: ''
  35.     poolDictionaries: ''
  36.     category: 'X hacking'
  37. !
  38.  
  39. !RequestError class methodsFor: 'instance creation'!
  40.  
  41. newFrom: aStream
  42.     ^self new initFrom: aStream
  43. !!
  44.  
  45. !RequestError methodsFor: 'private'!
  46.  
  47. initFrom: aStream
  48.     sequenceNumber _ aStream word. 
  49.     aStream long. 
  50.     minorOp _ aStream word. 
  51.     majorOp _ aStream byte. 
  52.     aStream skipBytes: 21
  53. !!
  54.  
  55.  
  56. XError subclass: #ValueError
  57.     instanceVariableNames: 'badValue '
  58.     classVariableNames: ''
  59.     poolDictionaries: ''
  60.     category: 'X hacking'
  61. !
  62.  
  63. !ValueError class methodsFor: 'instance creation'!
  64.  
  65. newFrom: aStream
  66.     ^self new initFrom: aStream
  67. !!
  68.  
  69. !ValueError methodsFor: 'private'!
  70.  
  71. initFrom: aStream
  72.     sequenceNumber _ aStream word. 
  73.     badValue _ aStream long. 
  74.     minorOp _ aStream word. 
  75.     majorOp _ aStream byte. 
  76.     aStream skipBytes: 21
  77. !!
  78.  
  79.  
  80. XError subclass: #WindowError
  81.     instanceVariableNames: 'badId '
  82.     classVariableNames: ''
  83.     poolDictionaries: ''
  84.     category: 'X hacking'
  85. !
  86.  
  87. !WindowError class methodsFor: 'instance creation'!
  88.  
  89. newFrom: aStream
  90.     ^self new initFrom: aStream
  91. !!
  92.  
  93. !WindowError methodsFor: 'private'!
  94.  
  95. initFrom: aStream
  96.     sequenceNumber _ aStream word. 
  97.     badId _ aStream long. 
  98.     minorOp _ aStream word. 
  99.     majorOp _ aStream byte. 
  100.     aStream skipBytes: 21
  101. !!
  102.  
  103.  
  104. XError subclass: #PixmapError
  105.     instanceVariableNames: 'badId '
  106.     classVariableNames: ''
  107.     poolDictionaries: ''
  108.     category: 'X hacking'
  109. !
  110.  
  111. !PixmapError class methodsFor: 'instance creation'!
  112.  
  113. newFrom: aStream
  114.     ^self new initFrom: aStream
  115. !!
  116.  
  117. !PixmapError methodsFor: 'private'!
  118.  
  119. initFrom: aStream
  120.     sequenceNumber _ aStream word. 
  121.     badId _ aStream long. 
  122.     minorOp _ aStream word. 
  123.     majorOp _ aStream byte. 
  124.     aStream skipBytes: 21
  125. !!
  126.  
  127.  
  128. XError subclass: #AtomError
  129.     instanceVariableNames: 'badId '
  130.     classVariableNames: ''
  131.     poolDictionaries: ''
  132.     category: 'X hacking'
  133. !
  134.  
  135. !AtomError class methodsFor: 'instance creation'!
  136.  
  137. newFrom: aStream
  138.     ^self new initFrom: aStream
  139. !!
  140.  
  141. !AtomError methodsFor: 'private'!
  142.  
  143. initFrom: aStream
  144.     sequenceNumber _ aStream word. 
  145.     badId _ aStream long. 
  146.     minorOp _ aStream word. 
  147.     majorOp _ aStream byte. 
  148.     aStream skipBytes: 21
  149. !!
  150.  
  151.  
  152. XError subclass: #CursorError
  153.     instanceVariableNames: 'badId '
  154.     classVariableNames: ''
  155.     poolDictionaries: ''
  156.     category: 'X hacking'
  157. !
  158.  
  159. !CursorError class methodsFor: 'instance creation'!
  160.  
  161. newFrom: aStream
  162.     ^self new initFrom: aStream
  163. !!
  164.  
  165. !CursorError methodsFor: 'private'!
  166.  
  167. initFrom: aStream
  168.     sequenceNumber _ aStream word. 
  169.     badId _ aStream long. 
  170.     minorOp _ aStream word. 
  171.     majorOp _ aStream byte. 
  172.     aStream skipBytes: 21
  173. !!
  174.  
  175.  
  176. XError subclass: #FontError
  177.     instanceVariableNames: 'badId '
  178.     classVariableNames: ''
  179.     poolDictionaries: ''
  180.     category: 'X hacking'
  181. !
  182.  
  183. !FontError class methodsFor: 'instance creation'!
  184.  
  185. newFrom: aStream
  186.     ^self new initFrom: aStream
  187. !!
  188.  
  189. !FontError methodsFor: 'private'!
  190.  
  191. initFrom: aStream
  192.     sequenceNumber _ aStream word. 
  193.     badId _ aStream long. 
  194.     minorOp _ aStream word. 
  195.     majorOp _ aStream byte. 
  196.     aStream skipBytes: 21
  197. !!
  198.  
  199.  
  200. XError subclass: #MatchError
  201.     instanceVariableNames: ''
  202.     classVariableNames: ''
  203.     poolDictionaries: ''
  204.     category: 'X hacking'
  205. !
  206.  
  207. !MatchError class methodsFor: 'instance creation'!
  208.  
  209. newFrom: aStream
  210.     ^self new initFrom: aStream
  211. !!
  212.  
  213. !MatchError methodsFor: 'private'!
  214.  
  215. initFrom: aStream
  216.     sequenceNumber _ aStream word. 
  217.     aStream long. 
  218.     minorOp _ aStream word. 
  219.     majorOp _ aStream byte. 
  220.     aStream skipBytes: 21
  221. !!
  222.  
  223.  
  224. XError subclass: #DrawableError
  225.     instanceVariableNames: 'badId '
  226.     classVariableNames: ''
  227.     poolDictionaries: ''
  228.     category: 'X hacking'
  229. !
  230.  
  231. !DrawableError class methodsFor: 'instance creation'!
  232.  
  233. newFrom: aStream
  234.     ^self new initFrom: aStream
  235. !!
  236.  
  237. !DrawableError methodsFor: 'private'!
  238.  
  239. initFrom: aStream
  240.     sequenceNumber _ aStream word. 
  241.     badId _ aStream long. 
  242.     minorOp _ aStream word. 
  243.     majorOp _ aStream byte. 
  244.     aStream skipBytes: 21
  245. !!
  246.  
  247.  
  248. XError subclass: #AccessError
  249.     instanceVariableNames: ''
  250.     classVariableNames: ''
  251.     poolDictionaries: ''
  252.     category: 'X hacking'
  253. !
  254.  
  255. !AccessError class methodsFor: 'instance creation'!
  256.  
  257. newFrom: aStream
  258.     ^self new initFrom: aStream
  259. !!
  260.  
  261. !AccessError methodsFor: 'private'!
  262.  
  263. initFrom: aStream
  264.     sequenceNumber _ aStream word. 
  265.     aStream long. 
  266.     minorOp _ aStream word. 
  267.     majorOp _ aStream byte. 
  268.     aStream skipBytes: 21
  269. !!
  270.  
  271.  
  272. XError subclass: #AllocError
  273.     instanceVariableNames: ''
  274.     classVariableNames: ''
  275.     poolDictionaries: ''
  276.     category: 'X hacking'
  277. !
  278.  
  279. !AllocError class methodsFor: 'instance creation'!
  280.  
  281. newFrom: aStream
  282.     ^self new initFrom: aStream
  283. !!
  284.  
  285. !AllocError methodsFor: 'private'!
  286.  
  287. initFrom: aStream
  288.     sequenceNumber _ aStream word. 
  289.     aStream long. 
  290.     minorOp _ aStream word. 
  291.     majorOp _ aStream byte. 
  292.     aStream skipBytes: 21
  293. !!
  294.  
  295.  
  296. XError subclass: #ColormapError
  297.     instanceVariableNames: 'badId '
  298.     classVariableNames: ''
  299.     poolDictionaries: ''
  300.     category: 'X hacking'
  301. !
  302.  
  303. !ColormapError class methodsFor: 'instance creation'!
  304.  
  305. newFrom: aStream
  306.     ^self new initFrom: aStream
  307. !!
  308.  
  309. !ColormapError methodsFor: 'private'!
  310.  
  311. initFrom: aStream
  312.     sequenceNumber _ aStream word. 
  313.     badId _ aStream long. 
  314.     minorOp _ aStream word. 
  315.     majorOp _ aStream byte. 
  316.     aStream skipBytes: 21
  317. !!
  318.  
  319.  
  320. XError subclass: #GContextError
  321.     instanceVariableNames: 'badId '
  322.     classVariableNames: ''
  323.     poolDictionaries: ''
  324.     category: 'X hacking'
  325. !
  326.  
  327. !GContextError class methodsFor: 'instance creation'!
  328.  
  329. newFrom: aStream
  330.     ^self new initFrom: aStream
  331. !!
  332.  
  333. !GContextError methodsFor: 'private'!
  334.  
  335. initFrom: aStream
  336.     sequenceNumber _ aStream word. 
  337.     badId _ aStream long. 
  338.     minorOp _ aStream word. 
  339.     majorOp _ aStream byte. 
  340.     aStream skipBytes: 21
  341. !!
  342.  
  343.  
  344. XError subclass: #IDChoiceError
  345.     instanceVariableNames: 'badId '
  346.     classVariableNames: ''
  347.     poolDictionaries: ''
  348.     category: 'X hacking'
  349. !
  350.  
  351. !IDChoiceError class methodsFor: 'instance creation'!
  352.  
  353. newFrom: aStream
  354.     ^self new initFrom: aStream
  355. !!
  356.  
  357. !IDChoiceError methodsFor: 'private'!
  358.  
  359. initFrom: aStream
  360.     sequenceNumber _ aStream word. 
  361.     badId _ aStream long. 
  362.     minorOp _ aStream word. 
  363.     majorOp _ aStream byte. 
  364.     aStream skipBytes: 21
  365. !!
  366.  
  367.  
  368. XError subclass: #NameError
  369.     instanceVariableNames: ''
  370.     classVariableNames: ''
  371.     poolDictionaries: ''
  372.     category: 'X hacking'
  373. !
  374.  
  375. !NameError class methodsFor: 'instance creation'!
  376.  
  377. newFrom: aStream
  378.     ^self new initFrom: aStream
  379. !!
  380.  
  381. !NameError methodsFor: 'private'!
  382.  
  383. initFrom: aStream
  384.     sequenceNumber _ aStream word. 
  385.     aStream long. 
  386.     minorOp _ aStream word. 
  387.     majorOp _ aStream byte. 
  388.     aStream skipBytes: 21
  389. !!
  390.  
  391.  
  392. XError subclass: #LengthError
  393.     instanceVariableNames: ''
  394.     classVariableNames: ''
  395.     poolDictionaries: ''
  396.     category: 'X hacking'
  397. !
  398.  
  399. !LengthError class methodsFor: 'instance creation'!
  400.  
  401. newFrom: aStream
  402.     ^self new initFrom: aStream
  403. !!
  404.  
  405. !LengthError methodsFor: 'private'!
  406.  
  407. initFrom: aStream
  408.     sequenceNumber _ aStream word. 
  409.     aStream long. 
  410.     minorOp _ aStream word. 
  411.     majorOp _ aStream byte. 
  412.     aStream skipBytes: 21
  413. !!
  414.  
  415.  
  416. XError subclass: #ImplementationError
  417.     instanceVariableNames: ''
  418.     classVariableNames: ''
  419.     poolDictionaries: ''
  420.     category: 'X hacking'
  421. !
  422.  
  423. !ImplementationError class methodsFor: 'instance creation'!
  424.  
  425. newFrom: aStream
  426.     ^self new initFrom: aStream
  427. !!
  428.  
  429. !ImplementationError methodsFor: 'private'!
  430.  
  431. initFrom: aStream
  432.     sequenceNumber _ aStream word. 
  433.     aStream long. 
  434.     minorOp _ aStream word. 
  435.     majorOp _ aStream byte. 
  436.     aStream skipBytes: 21
  437. !!
  438.  
  439.  
  440.